<? 
		 try{
            	$bdd = mysqli_connect('localhost', 'root', '', 'cappuccinoo');
				}
				catch(Exception $e){
					 die('Erreur : '.$e->getMessage());
				}
					
		 	$query = "SELECT * FROM article ORDER BY id DESC LIMIT 25";
         	$result = mysqli_query($bdd, $query) or die(mysqli_error($bdd));
			while($data = mysqli_fetch_array($result)){	
				foreach($data as $key=>$value)
                    $data[$key] = utf8_encode($data[$key]);	 

?>